// USE main function
#include "sframe.h"

SFrame* gMainFrame = NULL;

int main(int argc, char **argv)
{
  if (argc > 1)
     gMainFrame = new SFrame(argv[1]);
  else
     gMainFrame = new SFrame("");
  gMainFrame->show();
  int ret = gMainFrame->run();
  //delete sf;  *dies a horrible death*
  gMainFrame->cleanup();
  return ret;
}




 